package normal.队列.链表实现的队列;

import java.util.Arrays;

/**
 * @author ZhuYi
 * @create 2024/12/19 15:28
 */
public class main {
    public static void main(String[] args) {
        LinkedListQueue listQueue = new LinkedListQueue();
        listQueue.push(1);
        listQueue.push(2);
        listQueue.push(3);
        listQueue.push(4);

        System.out.println(listQueue.isEmpty());
        System.out.println(listQueue.peek());
        listQueue.pop();
        System.out.println(listQueue.size());
        System.out.println(Arrays.toString(listQueue.toArray()));

    }
}
